package smlk.spring.cloud.config.server;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@EnableConfigServer
@SpringBootApplication
@EnableDiscoveryClient
@Controller
public class ConfigServerApplication {

    @GetMapping(value = "/actuator/health")
    public String delfault(){
        return "";
    }
    public static void main(String[] args) {
        SpringApplication.run(ConfigServerApplication.class, args);
        System.out.println("====================================================================");
        System.out.println("====================================================================");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                    服务启动成功                 <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("======>>                                                <<==========");
        System.out.println("====================================================================");
        System.out.println("====================================================================");
    }

}
